package com.baizhi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * Created by Administrator on 2019/4/9 0009.
 */
@Data
@TableName(value = "cmfz_article")
public class CmfzArticle {
    @TableId(value = "article_id",type = IdType.AUTO)
    private Integer articleId;
    private String articleName;
    private String articleImage;
    private String articleContent;
    private Integer guruId;
    @TableField(exist = false)
    private  String guruNickname;
    @JSONField(format = "yyyy-MM-dd")
    private Date articleDate;
    private Integer articleState;
}
